﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RequirementAndBug.Common.Entities.RequireModels
{
    /// <summary>
    /// 需求浏览详情实体
    /// </summary>
    public class RequireScanDetailItem
    {        
        public int RequireID
        {
            get;
            set;
        }
        
        /// <summary>
        /// 创建者姓名
        /// </summary>
        [Display(Name = "创建者姓名")] 
        public string UserName
        {
            get;
            set;
        }

        public int UserID
        {
            get;
            set;
        }

        /// <summary>
        /// 受理人员 
        /// </summary>
        [Display(Name = "受理人员")] 
        public string TargetUserName
        {
            get;
            set;
        }

        /// <summary>
        /// 项目类型：0需求，1Bug
        /// </summary>
        [Display(Name="项目类型")] 
        public int ProCategory
        {
            get;
            set;
        }

        /// <summary>
        /// 需求标题
        /// </summary>   
        [Display(Name = "需求标题")]
        public string Title
        {
            get;
            set;
        }

        /// <summary>
        /// 需求描述
        /// </summary>  
        [Display(Name = "需求描述")]
        public string ProjectDesc
        {
            get;
            set;
        }

        [Display(Name = "创建时间")]
        public DateTime? CreateTime 
        {
            get;
            set;
        }

        [Display(Name = "完成时间")]
        public DateTime? FinishTime
        {
            get;
            set;
        }

        /// <summary>
        /// 截止日期
        /// </summary>
        [Display(Name = "截止日期")]
        public DateTime? DeadlineTime
        {
            get;
            set;
        }
        [Display(Name = "阶段状态")]
        public int StageStatus
        {
            get;
            set;
        }
        [Display(Name = "状态")]
        public int Status
        {
            get;
            set;
        }
    }
}
